package com.example.demo.service;

import com.example.demo.pojo.DTO.UserDTO;
import com.example.demo.pojo.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface IUserService {
    User add(UserDTO userDTO);

    User get(Integer id);

    User edit(UserDTO userDTO);

    void delete(Integer userId);
}
